-- GENERATED SPELL FOR [Shattered Hand Zealot] --


function spell0_17462(pUnit, Event) --@Hamstring,n/a--
pUnit:FullCastSpellOnTarget(30989,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17462', 8302, 1)
end

function Sorts_17462(pUnit, Event)
local choix_sorts_17462 = math.random(0, 0)
if choix_sorts_17462 == 0 then
pUnit:RegisterEvent('spell0_17462', 1, 1)
end
end

function mob17462_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17462', math.random(1500, 3000), 1)
end

function mob17462_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17462_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17462_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17462, 1, 'mob17462_Action')
RegisterUnitEvent(17462, 2, 'mob17462_Leave')
RegisterUnitEvent(17462, 3, 'mob17462_Kill')
RegisterUnitEvent(17462, 4, 'mob17462_Die')
